-- ack失败时，将消息从待ack的zset移动到待republish的zset

local to_ack_zset = KEYS[1];
local to_republish_zset = KEYS[2];
local unique_id = ARGV[1];
local score = ARGV[2];

redis.call('ZADD', to_republish_zset, score, unique_id) ;
redis.call('ZREM', to_ack_zset, unique_id) ;


